﻿using System.Windows;
using Tiny.Imaging.Filter.BaseFilter;
using Tiny.Imaging.Filter.PointFilter;

namespace Tiny.Imaging.Filter.EffectFilter
{
    public class LightLomoFilter : BaseFilterCollection
    {
        public LightLomoFilter(int width, int height)
        {
            Add(new CurvesFilter(RgbChannel.R, new Point(0, 0), new Point(124, 63), new Point(123, 192),
                                 new Point(255, 255)));
            Add(new CurvesFilter(RgbChannel.G, new Point(0, 0), new Point(107, 53), new Point(136, 173),
                                 new Point(255, 255)));
            Add(new CurvesFilter(RgbChannel.B, new Point(0, 0), new Point(90, 157), new Point(142, 70),
                                 new Point(255, 255)));
            Add(new GammaFilter(1.2));
            Add(new VignetteFilter(width, height, 90, 25));
        }
    }
}